<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>MiXiM: DelayedMapping Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">MiXiM
   &#160;<span id="projectnumber">2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('a00083.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">DelayedMapping Class Reference<div class="ingroups"><a class="el" href="a00520.html">mappingDetails - mostly internal mapping classes</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="DelayedMapping" --><!-- doxytag: inherits="BaseDelayedMapping&lt; Mapping &gt;" -->
<p>Moves another <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> in its time dimension.  
 <a href="a00083.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00300_source.html">MappingUtils.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for DelayedMapping:</div>
<div class="dyncontent">
<div class="center"><img src="a00728.png" border="0" usemap="#DelayedMapping_inherit__map" alt="Inheritance graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for DelayedMapping:</div>
<div class="dyncontent">
<div class="center"><img src="a00729.png" border="0" usemap="#DelayedMapping_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="a00730.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a253e7a1fed320ca2531272c0fa4d529d"></a><!-- doxytag: member="DelayedMapping::DelayedMapping" ref="a253e7a1fed320ca2531272c0fa4d529d" args="(Mapping *mapping, simtime_t_cref delay)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>DelayedMapping</b> (<a class="el" href="a00136.html">Mapping</a> *mapping, simtime_t_cref delay)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#a27c3282471353c1e6def96b4e1604c56">setValue</a> (const <a class="el" href="a00013.html">Argument</a> &amp;pos, Argument::mapped_type_cref value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the value of the <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> at the specified position.  <a href="#a27c3282471353c1e6def96b4e1604c56"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae298d25469c44c9cad54b33e8a787637"></a><!-- doxytag: member="DelayedMapping::clone" ref="ae298d25469c44c9cad54b33e8a787637" args="() const " -->
virtual <a class="el" href="a00136.html">Mapping</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#ae298d25469c44c9cad54b33e8a787637">clone</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a deep copy of this <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a52ea3c1399aaecb055d63c535925bc33"></a><!-- doxytag: member="DelayedMapping::createIterator" ref="a52ea3c1399aaecb055d63c535925bc33" args="()" -->
virtual <a class="el" href="a00137.html">MappingIterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#a52ea3c1399aaecb055d63c535925bc33">createIterator</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer of a new Iterator which is able to iterate over the <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> and can change it. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00137.html">MappingIterator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#a4dcb7018c79d6db7f0dc884dcabbcec1">createIterator</a> (const <a class="el" href="a00013.html">Argument</a> &amp;pos)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer of a new Iterator which is able to iterate over the function and can change it.  <a href="#a4dcb7018c79d6db7f0dc884dcabbcec1"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Moves another <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> in its time dimension. </p>
<p>See propagation delay effect of the signal for an example how to use this mapping.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Karl Wessel </dd></dl>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4dcb7018c79d6db7f0dc884dcabbcec1"></a><!-- doxytag: member="DelayedMapping::createIterator" ref="a4dcb7018c79d6db7f0dc884dcabbcec1" args="(const Argument &amp;pos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a00137.html">MappingIterator</a>* DelayedMapping::createIterator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00013.html">Argument</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer of a new Iterator which is able to iterate over the function and can change it. </p>
<p>The iterator starts at the passed position. </p>

<p>Implements <a class="el" href="a00136.html#a8723ba0f78d2f259f1f150c9db346cb2">Mapping</a>.</p>

<p>References <a class="el" href="a00136.html#ab78335a7a119893d1e04495f7f587ca3">Mapping::createIterator()</a>.</p>
<div class="fragment"><pre class="fragment">                                                               {
    <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a00520.html#gaf6d7bb3c43fe0bda97133e548ce327c2" title="Iterator for a DelayedMapping.">DelayedMappingIterator</a>(mapping-&gt;<a class="code" href="a00136.html#ab78335a7a119893d1e04495f7f587ca3" title="Returns a pointer of a new Iterator which is able to iterate over the Mapping and can change it...">createIterator</a>(delayPosition(pos)), delay);
  }
</pre></div>
</div>
</div>
<a class="anchor" id="a27c3282471353c1e6def96b4e1604c56"></a><!-- doxytag: member="DelayedMapping::setValue" ref="a27c3282471353c1e6def96b4e1604c56" args="(const Argument &amp;pos, Argument::mapped_type_cref value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DelayedMapping::setValue </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00013.html">Argument</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Argument::mapped_type_cref&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes the value of the <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> at the specified position. </p>
<p>The complexity of this method depends on the implementation. </p>

<p>Implements <a class="el" href="a00136.html#ab8906dfac661d5c6a0a35cf1744f06ed">Mapping</a>.</p>

<p>References <a class="el" href="a00136.html#ab8906dfac661d5c6a0a35cf1744f06ed">Mapping::setValue()</a>.</p>
<div class="fragment"><pre class="fragment">                                                                             {
    mapping-&gt;<a class="code" href="a00136.html#ab8906dfac661d5c6a0a35cf1744f06ed" title="Changes the value of the Mapping at the specified position.">setValue</a>(delayPosition(pos), value);
  }
</pre></div>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Projects/MiXiM/extsrc/mixim/src/base/phyLayer/<a class="el" href="a00300_source.html">MappingUtils.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="a00083.html">DelayedMapping</a>      </li>

    <li class="footer">Generated on Tue Mar 5 2013 21:26:32 for MiXiM by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
